import 'package:kasax_demos2/generated/json/base/json_convert_content.dart';
import 'package:kasax_demos2/generated/json/base/json_field.dart';

class MovieNewInfoEntity with JsonConvert<MovieNewInfoEntity> {
	late int count;
	late int start;
	late int total;
	late List<MovieNewInfoSubjects> subjects;
	late String title;
}

class MovieNewInfoSubjects with JsonConvert<MovieNewInfoSubjects> {
	late MovieNewInfoSubjectsRating rating;
	late List<String> genres;
	late String title;
	late List<MovieNewInfoSubjectsCasts> casts;
	@JSONField(name: "collect_count")
	late int collectCount;
	@JSONField(name: "original_title")
	late String originalTitle;
	late String subtype;
	late List<MovieNewInfoSubjectsDirectors> directors;
	late String year;
	late MovieNewInfoSubjectsImages images;
	late String alt;
	late String id;
}

class MovieNewInfoSubjectsRating with JsonConvert<MovieNewInfoSubjectsRating> {
	late int max;
	late double average;
	late String stars;
	late int min;
}

class MovieNewInfoSubjectsCasts with JsonConvert<MovieNewInfoSubjectsCasts> {
	late String alt;
	late MovieNewInfoSubjectsCastsAvatars avatars;
	late String name;
	late String id;
}

class MovieNewInfoSubjectsCastsAvatars with JsonConvert<MovieNewInfoSubjectsCastsAvatars> {
	late String small;
	late String large;
	late String medium;
}

class MovieNewInfoSubjectsDirectors with JsonConvert<MovieNewInfoSubjectsDirectors> {
	late String alt;
	late MovieNewInfoSubjectsDirectorsAvatars avatars;
	late String name;
	late String id;
}

class MovieNewInfoSubjectsDirectorsAvatars with JsonConvert<MovieNewInfoSubjectsDirectorsAvatars> {
	late String small;
	late String large;
	late String medium;
}

class MovieNewInfoSubjectsImages with JsonConvert<MovieNewInfoSubjectsImages> {
	late String small;
	late String large;
	late String medium;
}
